package cn.zjutleo.village_server.service;

import cn.zjutleo.village_server.entity.Department;
import cn.zjutleo.village_server.mapper.DepartmentMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: 张坤
 * @DateTime: 2022/1/13 23:16
 * @Description: 该类用于 TODO
 */
@Service
public class DepartmentService {
    @Resource
    DepartmentMapper departmentMapper;
    public List<Department> searchDepartmentById(Integer d_village_id){
        return departmentMapper.searchDepartmentById(d_village_id);
    }
}
